<?php

class Hash
{
	private $haslo;
	
	function Hash($haslo)
	{
		$this->haslo = $haslo;
		$this->hashuj();
	}
	
	function hashuj()
	{
		//algorytm hashowania hasla
		$this->haslo = md5(sha1($this->haslo));
	}
	
	function zwrocHaslo()
	{
		return $this->haslo;
	}
}

?>